package com.wish.g01.base.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * 这个类的作者是13536
 * 开发日期:2022/5/30
 **/
@Data
public class FactoringDeatilVo {

    private Long id;

    /**
     * 租约保理申请ID
     */
    private Long factoringId;

    /**
     * 商户id
     */
    private Long businessId;

    /**
     * 出房合同ID
     */
    private Long cfContractId;

    /**
     * 房产编号
     */
    private String houseId;

    /**
     * 房产信息(考虑在房产表中增加house_name，然后带出)
     */
    private String houseName;

    /**
     * 房源ID
     */
    private String roomId;

    /**
     * 房源编号
     */
    private String roomCode;

    /**
     * 房源名称
     */
    private String roomName;

    /**
     * 租客ID
     */
    private Long tenantId;

    /**
     * 租客姓名
     */
    private String tenantName;

    /**
     * 租客手机号
     */
    private String tenantPhone;

    /**
     * 应收租约金额
     */
    private BigDecimal shouldMonthRent;

    /**
     * 保理授信额度
     */
    private BigDecimal factoringCreditMoney;

    /**
     * 保理利息
     */
    private BigDecimal factoringInterest;

    /**
     * 服务费
     */
    private BigDecimal serviceFee;

    /**
     * 借款周期(多少个月 = 付几 * 剩余未付房租账期数)
     */
    private Integer factoringPeriod;

    /**
     * 借款账期开始日，格式：yyyymmdd
     */
    private Date borrowedStart;

    /**
     * 借款账期截止日，yyyymmdd
     */
    private Date borrowedEnd;

    /**
     * 预留字段1
     */
    private BigDecimal reserve1;

    /**
     * 预留字段2
     */
    private Integer reserve2;

    /**
     * 预留字段3
     */
    private String reserve3;

    /**
     * 预留字段4
     */
    private String reserve4;

    /**
     * 预留字段5
     */
    private String reserve5;

    /**
     * 删除标识（0：未删除）（1：删除）
     */

    private Boolean delFlg;

    /**
     * 创建用户id
     */
    private Long createUserid;

    /**
     * 创建时间
     */
    private LocalDate createTime;

    /**
     * 更新用户id
     */
    private LocalDate updateUserid;

    /**
     * 更新用户时间
     */
    private LocalDate updateTime;

    @Override
    public String toString() {
        return "FactoringDeatilVo{" +
                "id=" + id +
                ", factoringId=" + factoringId +
                ", businessId=" + businessId +
                ", cfContractId=" + cfContractId +
                ", houseId='" + houseId + '\'' +
                ", houseName='" + houseName + '\'' +
                ", roomId='" + roomId + '\'' +
                ", roomCode='" + roomCode + '\'' +
                ", roomName='" + roomName + '\'' +
                ", tenantId=" + tenantId +
                ", tenantName='" + tenantName + '\'' +
                ", tenantPhone='" + tenantPhone + '\'' +
                ", shouldMonthRent=" + shouldMonthRent +
                ", factoringCreditMoney=" + factoringCreditMoney +
                ", factoringInterest=" + factoringInterest +
                ", serviceFee=" + serviceFee +
                ", factoringPeriod=" + factoringPeriod +
                ", borrowedStart=" + borrowedStart +
                ", borrowedEnd=" + borrowedEnd +
                ", reserve1=" + reserve1 +
                ", reserve2=" + reserve2 +
                ", reserve3='" + reserve3 + '\'' +
                ", reserve4='" + reserve4 + '\'' +
                ", reserve5='" + reserve5 + '\'' +
                ", delFlg=" + delFlg +
                ", createUserid=" + createUserid +
                ", createTime=" + createTime +
                ", updateUserid=" + updateUserid +
                ", updateTime=" + updateTime +
                '}';
    }
}
